package com.landinfo.service.mapper;

import com.landinfo.domain.*;
import com.landinfo.service.dto.EquipmentManagementDTO;

import org.mapstruct.*;

/**
 * Mapper for the entity EquipmentManagement and its DTO EquipmentManagementDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface EquipmentManagementMapper extends EntityMapper <EquipmentManagementDTO, EquipmentManagement> {
    
    
    default EquipmentManagement fromId(Long id) {
        if (id == null) {
            return null;
        }
        EquipmentManagement equipmentManagement = new EquipmentManagement();
        equipmentManagement.setId(id);
        return equipmentManagement;
    }
}
